package org.agridata.akvisualization.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface MapMapper {
    /**
     * 查询存栏量
     * @return
     */
    @DS("second")
    List<Map<String, Object>> selectBreedingStock();

    /**
     * 展示二级地图侧方列表数量
     * @param regionId
     * @return
     */
    @DS("second")
    List<Map<String, Object>> selectNumByRegionId(@Param("regionId") Integer regionId);

    /**
     * 二级地图信息
     * @param regionId
     * @return
     */
    @DS("second")
    List<Map<String, Object>> selectMessageByRegionId(@Param("regionId") Integer regionId,@Param("list") List<String> pointType,@Param("mid")String mid);
    @DS("second")
    Map<String, Object> selectRegionLevelList(@Param("regionId")Integer regionId);
    @DS("second")
    Map<String, Object> selectRegionLevelListAll(@Param("ri1")int ri1,@Param("ri2") int ri2,@Param("ri3") int ri3,@Param("ri4") int ri4);
}
